#ifndef _CBUSLINEINFO_H_
#define _CBUSLINEINFO_H_ 
#include <vector>
#include <string>
using namespace std;
class CStationInfo;
class CBusLineInfo
{
public:
	CBusLineInfo(void);
	virtual	~CBusLineInfo(void);

	virtual inline const char*		GetName()const { return m_pszName;}
	virtual inline const void		SetName(const char* pcszName) { 
		memcpy_s(m_pszName,MAX_BUSNAME_LENGTH,pcszName,strlen(pcszName));
		}
	virtual				void		AddStation(CStationInfo *pStation, bool bGoStation = true);
private:
	vector<CStationInfo*>	m_vectGoStations;
	vector<CStationInfo*>	m_vectBackStations;
	char					m_pszName[MAX_BUSNAME_LENGTH];
};

#endif